package com.woniuxy.carrental.service.impl;

import com.woniuxy.carrental.entity.Province;
import com.woniuxy.carrental.mapper.ProvinceMapper;
import com.woniuxy.carrental.service.PriviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author author
 * @create 2021-10-10 13:17
 */
@Service
public class PriviceServiceImpl implements PriviceService {

    @Autowired
    ProvinceMapper provinceMapper;


    @Override
    public List<Province> selectAllProvince() {
        return provinceMapper.selectAllProvince();
    }
}
